<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var Kiku = {
            name:'鞠婧祎',
            age : 29,
            song:[
                {
                    title:'恋爱告急',
                    time: 2018,
                    sing:function(){
                        alert('恋爱告急~ 满格讯号 容量不够思考')
                    }
                },
                {
                    title:'叹云兮',
                    time: 2017,
                    sing:function(){
                        document.write('这是缘 亦是命中最美的相见')
                    }
                }
            ],
            eat :function (){
                alert('吃辣条炒饭');
            },
            sex : 'female',
            job : 'actor'
        }
        Kiku.school = '河北师范大学'
        Kiku['fan'] = '蜜橘'
        Kiku.age = function(){
            alert("刚满十八岁~~")
        }
        Kiku.age()
        console.log(Kiku.school)
        console.log(Kiku.fan)
    // alert(Kiku.name)
    // Kiku.eat()
    // var NAME = 'name'
    // // alert(Kiku[NAME])
    // // alert(Kiku['name'])
    // alert(Kiku[1==true? NAME: '笑女士'])
   Kiku.song[0]['sing']()
   Kiku.song[1].sing()
   delete Kiku.sex
   console.log(Kiku) 
  for(var i in Kiku){
    console.log(i,Kiku[i])
  }
    </script>
</body>
</html>